<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>writeblog</title>
    <link rel="stylesheet" href="../css/bootstrap.min.css">
    <link rel="stylesheet" href="../css/bootstrap.css">

    <link type="text/css" href="../editormd/lib/codemirror/codemirror.min.css">
    <link rel="stylesheet" href="../css/writeblog.css">
    <link rel="stylesheet" href="../editormd/css/editormd.css">
    <script type="text/javascript" src="../js/jquery-3.2.1.min.js"></script>
    <script type="text/javascript" src="../editormd/editormd.js"></script>

    <!--http://localhost:8080/editormd/lib/codemirror/codemirror.min.css-->

</head>

<body>

<!--编写功能不得。。。。。。。。。。。-->

<script type="text/javascript">
    var testEditormd;

    $(function () {

        testEditormd = editormd("test-editormd", {
            width: "90%",
            height: 640,
            emoji: true,
            markdown: "### 动态创建 Editor.md\r\n\r\nDynamic create Editor.md" +
            "### Settings\n" +
            "\n" +
            "            ```javascript\n" +
            "            var testEditor = editormd(\"test-editormd\", {\n" +
            "                autoHeight : true\n" +
            "            });\n" +
            "            ```\n" +
            "            functions:\n" +
            "\n" +
            "            ```javascript\n" +
            "            editor.setTheme('theme-name');\n" +
            "            editor.setEditorTheme('theme-name');\n" +
            "            editor.setPreviewTheme('theme-name');\n" +
            "            ```\n",
            path: 'editormd/lib/'

        });

    });
</script>

<div id="write_blog_top">
        <div id="write_blog_logo">
            <label>
                001
            </label>
        </div>

        <div id="write_blog_right_info">


            <label class="w_label" id="write_blog_userlabel">
                user:
            </label>
            <label class="w_label" id="write_blog_user">
                kong
            </label>

            <button id="write_blog_save_release"  class="btn btn-primary">
                保存发布
            </button>

            <button id="write_blog_exit_btn" class="btn btn-primary">
                退出
            </button>
        </div>

</div>

<hr>
<div id="write_blog_body">

    <div id="test-editormd">
        <textarea name="editormd-markdown-doc">

        </textarea>
    </div>

</div>
<hr>

<div id="write_blog_footer">

    <div id="write_blog_footer_logo">
        <span>div-001</span>
    </div>

</div>

</body>
</html>